from django.db import models
from .user import  User

class UserToken(models.Model):
    user = models.OneToOneField(User, related_name='user_token', on_delete=models.PROTECT)
    token = models.CharField('用户token', max_length=200)
